[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WORDWRAP

 Function
  Set the word wrap flag in an INPUTSTR or PROMPTSTR statement.

 Value
  512 = 1000000000b = 1000o = 200h

 Remarks
  The INPUTSTR and PROMPTSTR statements have the ability to word wrap
  from one input statement to the next input statement.  If you reach the
  end of the input field PCBoard will automatically save the last word
  from the input field in an internal buffer.  The next input statement
  will use that saved word if both statements used WORDWRAP.  If the
  passed variable isn't empty or if an input statement is used that
  doesn't have WORDWRAP set then the saved word will not be used.

 Example

  STRING s(5)
  INTEGER i
  CLS
  FOR i = 1 TO 5
   INPUTSTR "Line"+STRING(i),s(i),@X0E,40,MASK_ASCII(),WORDWRAP+NEWLINE
  NEXT
  CLS
  FOR i = 1 TO 5
   PRINTLN "Line ",i,": ",s(i)
  NEXT

See Also: INPUTSTR PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson